package com.aigc.txt2img.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class User {

    private Integer id;

    @NotEmpty(message = "姓名不能为空")
    private String name;

    @NotEmpty(message = "邮箱不能为空")
    private String email;
    private String pwd;
    private Integer create_ts;
    private Integer update_ts;


}
